import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js'
//审批列表查询
export const restListService = (params)=>{
    return request.get('/rest',{params:params})
}

//审批
export const restUpdateService = (restData)=>{
   return  request.put('/rest/update',restData)
}


//发起审批
export const restAddService = (params)=>{
    return request.post('/rest/add',params);

}